<template>
  <div>
    <h3>Home</h3>
    <h3>count属性的值:{{ getCount }}</h3>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Home',
  data() {
    return {}
  },
  computed: {
    ...mapGetters(['getCount']),
  },
}
</script>
